/**
 * 
 */
package com.oracle.jimu.service;

import com.oracle.jimu.bean.OrderItem;
import com.oracle.jimu.dao.OrderItemDao;

/**
 * @author zhijiaozhongxin
 *
 */
public class OrderItemServiceImpl implements OrderItemService {
private OrderItemDao orderItemDao;
	public OrderItemDao getOrderItemDao() {
	return orderItemDao;
}

public void setOrderItemDao(OrderItemDao orderItemDao) {
	this.orderItemDao = orderItemDao;
}

	/* (non-Javadoc)
	 * @see com.oracle.jimu.service.OrderItemService#addItem(com.oracle.jimu.bean.OrderItem)
	 */
	@Override
	public void addItem(OrderItem item) {
		// TODO Auto-generated method stub
		orderItemDao.addItem(item);
	}

	/* (non-Javadoc)
	 * @see com.oracle.jimu.service.OrderItemService#delItem(java.lang.Integer)
	 */
	@Override
	public void delItem(Integer id) {
		// TODO Auto-generated method stub
		orderItemDao.delItem(id);
	}

	/* (non-Javadoc)
	 * @see com.oracle.jimu.service.OrderItemService#updateItem(com.oracle.jimu.bean.OrderItem)
	 */
	@Override
	public void updateItem(Integer id,Integer count) {
		// TODO Auto-generated method stub
		orderItemDao.updateItem(id,count);
	}

}
